﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ProjectCastamere
{
    /// <summary>
    /// The following class denotes a skill that can be learned by the player
    /// </summary>
    class Skill
    {
        // The name of the skill
        private string name;

        public string Name
        {
            get { return name; }
        }

        // the description of the skill
        private string description;

        public string Description
        {
            get { return description; }
        }

        // The Branch level code


        // the maximum level of a skill
        private const int maxLevel = 5;

        // The description of each branch level
        private string[] levelSpecificDesc = new string[maxLevel];

        public string[] LevelSpecificDesc
        {
            get { return levelSpecificDesc; }
        }

        // The level of the skill
        private int level;

        public int Level
        {
            get { return level; }
            set 
            { 
                if( level <= maxLevel )
                    level = value; 
            }
        }

        // Constructor
        public Skill()
        {

        }
    }
}
